#include <stdio.h>
int main()
{
	int a;
	double b,c,d;
	scanf("%d;%lf,%lf,%lf",&a,&b,&c,&d); 
	b=(int)(b*100+0.5)/100.0;
	c=(int)(c*100+0.5)/100.0;
	d=(int)(d*100+0.5)/100.0;
	printf("The each subject score of No. %d is %.2lf, %.2lf, %.2lf.",a,b,c,d);
	return 0;
} 
